package com.xiaoy.core.side4.dao;

import com.xiaoy.core.side4.entity.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface StudentDao extends PagingAndSortingRepository<Student, Long>,JpaSpecificationExecutor<Student>{
	
	
	public Page<Student> filterPage (Specification<Student> spec, Pageable pageable);
	
	
	

}
